package stone;

import stone.ast.Fun;

import static stone.Parser.rule;


// primary: "func" param_list block | 原本的primary定义


public class ClosureParser extends FuncParser {

	public ClosureParser() {
		primary.insertChoice(rule(Fun.class).sep("fun").ast(paramList).ast(block));
	}
	
}
